#include <iostream>
#include <vector>
using namespace std;

int main()
{
    vector<int> mvec(18, 5);
    for (int i : mvec)
    {
        cout << i << ",";
    }
    cout<<"下一个"<<endl;
    vector<int> mvec1(mvec);
    mvec1.resize(35,6);
    cout<<"扩容后的数据大小:"<<mvec1.size()<<endl;
    cout<<"扩容后的容器大小:"<<mvec1.capacity()<<endl;
    return 0;
}